package ink.onei.common.core.domain.entity;

import ink.onei.common.annotation.Excel;
import ink.onei.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.util.List;

/**
 * 商家对象 seller
 *
 * @author nekotako
 * @date 2024-01-27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Alias("Seller")
public class Seller extends BaseEntity {
    private static final long serialVersionUID = 1L;

    // 商家编号
    private Long sellerId;

    // 商家账号
    private String username;

    // 商家密码
    private String password;

    // 店铺名称
    @Excel(name = "店铺名称")
    private String storeName;

    // 头像
    private String avatar;

    // 商家电话
    @Excel(name = "商家电话")
    private String phone;

    // 商家状态
    @Excel(name = "商家状态")
    private Integer status;

    // 评分
    @Excel(name = "评分")
    private Integer star;

    // 经度
    private String longitude;

    // 维度
    private String latitude;

    // 删除标记
    private Integer delFlag;

    public Seller(String username, String password) {
        this.username = username;
        this.password = password;
    }
}
